//
//  HQNetWork.h
//  MobileiOS
//
//  Created by 郝庆松 on 2018/5/12.
//  Copyright © 2018年 PCITC. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HQNetWork : NSObject

/**
 网络请求
 
 @param param 参数
 @param suc 成功回调
 @param fail 失败回调
 */
+ (void)requetParam:(NSDictionary *)param withMethod:(NSString *)method suc:(void (^)(NSDictionary * sucData))suc fail:(void (^)(void))fail;


/** 上传图片*/
- (void)httpUploadImages:(UIImage *)image
                     URL:(NSString *)URLPath
                   param:(NSDictionary *)dict
                     suc:(void (^)(NSDictionary *))success fail:(void (^)(void))failure;

/**
 取消网络请求
 */
+(void)cancelOperationQueue;

@end
